﻿using Prism.Common;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZoneLineNew.Attributes;

namespace ZoneLineNew.Models {

    public class ReplaceRecordModel : BindableBase {
        private string _boxCode;
        [DgColumnAttr("箱码")]
        public string BoxCode {
            get { return _boxCode; }
            set => SetProperty(ref _boxCode, value);
        }


        private string _oldCode;
        [DgColumnAttr("旧工件条码")]
        public string OldCode {
            get { return _oldCode; }
            set => SetProperty(ref _oldCode, value);
        }

        private string _newCode;
        [DgColumnAttr("新工件条码")]
        public string NewCode {
            get { return _newCode; }
            set => SetProperty(ref _newCode, value);
        }

        private DateTime _createTime;
        [DgColumnAttr("替换时间")]
        public DateTime CreateTime {
            get { return _createTime; }
            set => SetProperty(ref _createTime, value);
        }
    }
}
